package com.bjpowernode.mapper;

import com.bjpowernode.beans.Activity;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.Map;

public interface ActivityMapper extends BaseMapper<Activity> {

    ArrayList<Activity> getAll(@Param("currentPage") int currentPage, @Param("rowsPerPage") int rowsPerPage,@Param("searchMap") Map<String, Object> searchMap);
    int getCount(@Param("searchMap") Map<String, Object> searchMap);

    //按照id查询并且还要查询出回复内容
    Activity  getIdAndRemark(String id);
}
